package com.demo;

public class ForDemo1 {
    public static void main(String[] args) {

        //打印5次HelloWorld
        /*
        for(初始化语句:条件判断语句:条件控制语句){
        循环体;
        }
         */
        for (int i=1;i<=10;++i){
            System.out.println("HelloWorld!"+i);
        }
    }
}
